
<template>
    <div class="tab-bar">
        <div class="tab-bar-item">首页</div>
        <div class="tab-bar-item">分类</div>
        <div class="tab-bar-item">购物车</div>
        <div class="tab-bar-item">我的</div>
    </div>
</template>
<script>
export default {
    name: 'TabBar',

}
</script>
<style>
.tab-bar {
    display: flex;
    background-color: #f6f6f6;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.1);
}

.tab-bar .tab-bar-item {
    flex: 1;
    text-align: center;
    line-height: 49px;
    height: 49px;
}
</style>